package com.fesine.ch02.synchronizedBlockLockAll.test3;



/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/7/5 11:31
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/5 11:31
 */
public class ThreadA extends Thread {
    private Service service;
    private MyObject object;

    public ThreadA(Service service, MyObject object) {
        super();
        this.service= service;
        this.object=object;
    }

    @Override
    public void run() {
        service.testMethod1(object);
    }
}
